Dokumentaro de Gambaso
Compilation & Installation
Components
gb
Array
Error
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

String[].ExistSorted (gb)

Function ExistSorted ( Value As String [ , Mode As Integer ] ) As Boolean

Since 3.16

Return if the specified string exists in the array.

The Mode argument is one of the comparison methods available.

See Predefined Constants for a list of comparison methods.

This method only works if the array is sorted.

But it is faster than the Exist method as it uses a binary search algorithm.